package com.ma.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

import javax.websocket.server.ServerEndpoint;

/**
 * @ProjectName: project
 * @Package: com.ma.config
 * @ClassName: WebSocketStompConfig
 * @Author: YHHHH
 * @Description:
 * @Date: 2021/3/11 20:22
 * @Version: 1.0
 */
@Configuration
public class WebSocketStompConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

    }
